package com.tmeone.erpone.entity;

import java.time.LocalDate;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 库区表
 * </p>
 *
 * @author wzy
 * @since 2021-04-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TCargoArea implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 货区编号
     */
    private String goodsNo;

    /**
     * 货区名称
     */
    private String goodsName;

    /**
     * 所属仓库id
     */
    private String wareId;

    /**
     * 所属负责人id
     */
    private String personId;

    /**
     * 货架数目
     */
    private Integer shelvesNum;

    /**
     * 创建时间
     */
    private LocalDate deteTime1;

    /**
     * 面积
     */
    private String area;

    /**
     * 状态
     */
    private String status;

    /**
     * 货区描述
     */
    private String details;

    /**
     * 所属公司id
     */
    private String companyId;

    /**
     * 连表查询t_ware的wareName
     */
    @TableField(exist = false)
    private String wareName;

    @TableField(exist = false)
    private List<TShelves> tShelves;


    /**
     * 连表查询t_shelves的totalNum
     */
    @TableField(exist = false)
    private String totalNum;

    /**
     * 连表查询t_ware的person
     */
    @TableField(exist = false)
    private String person;
}
